package com.xyzwps.lib.ap;

import javax.lang.model.element.ExecutableElement;

public record ConstructorInfo(ExecutableElement element, String name, Modifiers modifiers) {
    public static ConstructorInfo of(ExecutableElement element) {
        var name = element.getSimpleName().toString();
        return new ConstructorInfo(element, name, Modifiers.of(element.getModifiers()));
    }
}
